package utils;

import java.util.Random;

public class CodeUtils {
    public static String getRandomCode(Integer length)
    {
        Random r=new Random();
        StringBuilder stringBuilder = new StringBuilder();
        for (Integer i = 0; i < length; i++) {
              stringBuilder.append(r.nextInt(10));
        }
        return stringBuilder.toString();
    }
}
